<!DOCTYPE html>
<html ng-app="myApp">
<head>
    <meta http-equiv="Pragma" content="no-cache"/>
    <meta http-equiv="Cache-Control" content="no-cache"/>
    <meta http-equiv="Expires" content="0"/>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-squestion-result-explaincale=1"/>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
    <title>在线考试系统</title>

    <script src="//openexamcdn.open.com.cn/openexam/static/assets/scripts/ShieldBackspace.js"></script>
    <!--@Scripts.Render("~/style/ExamPaper")-->
    <link href="//openexamcdn.open.com.cn/openexam/static/Content/bootstrap.min.css" rel="stylesheet">
    <link href="//openexamcdn.open.com.cn/openexam/static/App/style/ExamPaper/main.css" rel="stylesheet">
    <link href="//openexamcdn.open.com.cn/openexam/static/App/style/ExamPaper/worktest.css" rel="stylesheet">

    <style>
        .tooltip.left .tooltip-arrow {
            border-left-color: white;
        }

        .tooltip-inner {
            background-color: white;
            color: black;
        }

        .text-underline {
            text-decoration: underline;
        }
    </style>

    <script>
        var rootUrl = "/Examinee/";

        var Token = "${viewBag.token}";
    </script>
</head>

<body ng-controller="ExamPaper">
<p ng-init="isPreview=true" ng-hide="true"></p>
<div class="content content-bgcolor">
    <div class="container">
        <div class="row" style="position:relative;">
            <div class="col-xs-12 title-content-style workontop">
                <div class="col-xs-8" style="padding-left: 80px; width: 50%;">
                    <span class="worktitle" data-toggle="tooltip" data-placement="left"
                          title="${viewBag.tooltipText}"></span>
                    <span class="worktitle">${viewBag.title}</span>
                    <p class="score">
                        <span class="mr30">共{{paper.ItemCount}}题，{{paper.Score}}分</span>
                    </p>
                </div>
                <div class="col-xs-4 stunews-right" style="width:50%;">
                    <div class="stu-img-div">
                        <img class="photoImg" src=""/>
                    </div>
                    <div class="stu-news-div">
                        <p><span class="blue">{{examineeName}}</span></p>
                        <p><span class="mr30" ng-show="isShowSeat">座&nbsp;&nbsp;位&nbsp;&nbsp;号 {{seatNo}}</span></p>
                        <p><span class="mr30">准考证号 {{examCardNo}}</span></p>
                        <p><span class="mr30">证&nbsp;&nbsp;件&nbsp;&nbsp;号 {{certificateNo}}</span></p>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-xs-9 user-config-left padding-right">
                <div class="left-content padd">
                    <!--单选题开始-->
                    <div class="question question-radio" ng-repeat="section in sections">
                        <div class="question-type">
                            <span class="item-type radioques">{{section.Title}}</span>
                            <span class="quesnum radionums">共{{section.ItemCount}}题，{{section.Score}}分</span>
                        </div>
                        <div>
                            <div ng-repeat="it in section.ItemTemplateCollection" class="question-cont"
                                 id="item_{{it.Identifier}}">
                                <div class="question-cont-left">
                                    <span class="question-num" ng-show="{{it.IsExample}}">例</span>
                                    <span class="question-num" ng-show="{{!it.IsExample}}">{{it.SequenceIndex}}</span>
                                    <span class="question-score" ng-show="{{!it.IsExample}}">{{it.Weight}}分</span>
                                    <span class="videomodel" ng-show="openView(it)" ng-click="fullScreen(it)">
                                            <img src="//openexamcdn.open.com.cn/openexam/static/App/images/ExamPaper/openview.png">
                                        </span>
                                </div>
                                <div class="question-cont-right">
                                    <item-content>loading...</item-content>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!--单选题结束-->
                </div>
            </div>
            <div style="top: 0;" class="col-xs-3 user-config-center content-style">
                <div class="resultshow">
                    <div class="right-time-div" ng-controller="RespondenceTime">
                        <div>
                            <!--<span><img class="img-time-center" src="//openexamcdn.open.com.cn/openexam/static/App/images/ExamPaper/time.png" /></span>-->
                            <span class="time-count-down-leftG" ng-class="unUsed()">距开考：<span style="color:#FF3333">{{dmmN}} : {{dssN}}</span></span>
                        </div>
                    </div>

                    <div class="chioce-btn">
                        <dl class="question-result-item clearfix" ng-repeat="section in sections">
                            <dt class="question-resul-title radio">
                                <img src="//openexamcdn.open.com.cn/openexam/static/App/images/ExamPaper/open.png" alt=""/>
                                {{section.Title}}（{{section.ItemCount}}题，{{section.Score}}分）
                            </dt>
                            <dd class="question-resul-tab radio-tab">
                                <a ng-repeat="item in section.ItemTemplateCollection"
                                   id="control_item_{{item.Identifier}}" name="item_{{item.Identifier}}"
                                   ng-class="resultClass(item)" href="javascript:void(0)">{{item.SequenceIndex}}</a>
                            </dd>
                        </dl>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- @Scripts.Render("~/js/base")-->
<script src="//openexamcdn.open.com.cn/openexam/static/Scripts/jquery-1.12.4.min.js"></script>
<script src="//openexamcdn.open.com.cn/openexam/static/Scripts/jquery.validate.min.js"></script>
<script src="//openexamcdn.open.com.cn/openexam/static/Scripts/bootstrap.min.js"></script>
<script src="//openexamcdn.open.com.cn/openexam/static/App/vendor/bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
<script src="//openexamcdn.open.com.cn/openexam/static/App/vendor/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>

<!-- @Scripts.Render("~/js/angularjs/exampaper")-->
<script src="//openexamcdn.open.com.cn/openexam/static/App/vendor/angular/angular.js"></script>
<script src="//openexamcdn.open.com.cn/openexam/static/App/vendor/angular/angular-ui-router.js"></script>
<script src="//openexamcdn.open.com.cn/openexam/static/App/vendor/angular/angular-route.js"></script>
<script src="//openexamcdn.open.com.cn/openexam/static/App/vendor/angular/angular-sanitize.js"></script>
<script src="//openexamcdn.open.com.cn/openexam/static/Scripts/ui-bootstrap-tpls-0.13.0.min.js"></script>
<script src="//openexamcdn.open.com.cn/openexam/static/App/vendor/bootstrap-notify/bootstrap-notify.min.js"></script>
<script src="//openexamcdn.open.com.cn/openexam/static/App/scripts/ExamPaper/controllers.js"></script>
<script src="//openexamcdn.open.com.cn/openexam/static/App/scripts/ExamPaper/services.js"></script>
<script src="//openexamcdn.open.com.cn/openexam/static/App/scripts/ExamPaper/directives.js"></script>
<script src="//openexamcdn.open.com.cn/openexam/static/App/scripts/ExamPaper/filters.js"></script>
<script src="//openexamcdn.open.com.cn/openexam/static/App/scripts/ExamPaper/app.js"></script>

<script src="//openexamcdn.open.com.cn/openexam/static/App/scripts/common.js"></script>

<script>
    $(function () {
        $('[data-toggle="tooltip"]').tooltip('show');

        var isSeatByNumberRequired = "${viewBag.isSeatByNumberRequired}";
        if (isSeatByNumberRequired != "0") {

        }
        var appId = "${viewBag.appId}";
        var planId = "${viewBag.planId}";
        var sceneId = "${viewBag.scenceId}";
        var examineeId = "${viewBag.examineeId}";
        $('.photoImg').attr('src', '/Photo/GetStudentPhoto?appId=' + appId + '&planId=' + planId + '&sceneId=' + sceneId + '&examineeId=' + examineeId + '&r=' + Math.random());

    });
</script>
</body>
</html>